<?php

namespace Managers;

class Grid extends BaseManager
{

   protected $__table = '\Catalog\Reviews';
   protected $__table2 = '\Catalog\Rotator';



    public  function em()

    {

        return $this->_em;
    }

    public function editComments()
    {

        return $this->_em->getRepository($this->__table)->createQueryBuilder('c');
    }
     public function editRotator()
    {

        return $this->_em->getRepository($this->__table2)->createQueryBuilder('c');
    }


}
